package com.fc.campusapplicationsystem.service;

import com.fc.campusapplicationsystem.model.Consumer;

import java.util.List;

/**
 * @author 贺哲
 * @2020-02-29 15:15
 */
public interface ConsumerService {
    public Consumer consumerLogin(String username, String password);

    public List<Consumer> list();

    Integer add(Consumer consumer);

    Integer delete(Integer id);

    boolean checkUsername(Consumer consumer);

    Integer update(Consumer consumer);
}
